/**
 * @class tuan.store.ProductStore
 * @extends extendsClass
 * Description
 */
Ext.define('tuan.store.CategoriesStore', {
    extend: 'Ext.data.Store',
    model : "tuan.model.CategorysModel",
    proxy : {
    	type : "ajax",
    	api : {
    		read : "server/Category.php?action=read",
    		create : "server/Category.php?action=create",
    		update : "server/Category.php?action=update",
    		destroy : "server/Category.php?action=destroy",
    	},
    	reader : {
    		type : "json",
    		root : "cates"
    	},
        autoload : true
    }
});